<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en">
<head>
<title>需求征集修改</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
	content="A short description of this page." />
<link href="#{facesContext.externalContext.requestContextPath}/css/public.css" rel="stylesheet" type="text/css"
	media="screen" />
<link href="#{facesContext.externalContext.requestContextPath}/css/main.css" rel="stylesheet" type="text/css"
	media="screen" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- rich:message style-->
<style type="text/css">
	.rich-message-label{
		color:red;
	}
</style>
</head>
<body style="background-color: #ffffff">
<h:form>
	<div id="right">
	<div class="error pt10p bcf c0 tal" style="display: ">
		<a4j:outputPanel layout="block" id="msgPanel">
			<center>
				<h:outputText styleClass="cff" value="#{RequireBB.msg}" />
			</center>
		</a4j:outputPanel>
	</div>
	<div class="tablelist">
	<table width="100%" border="1" cellpadding="0" cellspacing="0"
		bordercolor="#c3c3c3" style="border-collapse: collapse">
		<tr>
			<td><span class="cff">*</span>培训需求类型<h:selectOneMenu class="style_input"  value="#{RequireBB.requirement.tp_requirekind}">
	 			<f:selectItems value="#{paramBB.selectItem['tp_requirekind']}" />
			</h:selectOneMenu></td>
			<td><span class="cff">*</span>培训需求技能组<h:selectOneMenu class="style_input"  value="#{RequireBB.requirement.tp_userkind}">
	 			<f:selectItems  value="#{paramBB.selectItems_param}" />
			</h:selectOneMenu>
			<h:inputHidden value="#{RequireBB.requirement.tp_requireid}" /></td>
		</tr>
		<tr>
			<td rowspan="2" colspan="2"><span class="cff">*</span>培训需求内容 <label>
			<h:inputTextarea id="tp_requiredesc" value="#{RequireBB.requirement.tp_requiredesc}" class="style_textarea" 
					required="true" validator="#{RequireBB.validateName}"/> </label>
			<span style="color:red" class="notice"><rich:message for="tp_requiredesc" showSummary="true" showDetail="false" style="color:red"/></span>
			</td>
		</tr>
	</table>
	</div>
	<div class="listbut">
		<h:commandButton styleClass="buttonbg" value="保存" action="#{RequireBB.updateRequirement}" reRender="msgPanel" /> 
		<h:commandButton styleClass="buttonbg" value="返回" 	action="#{RequireBB.toBack}" immediate="true"/></div>
	</div>
</h:form>
</body>
</html>

